using System;

namespace PetShop.BusinessEntities
{
    [Serializable]
    public class LineItemInfo
    {
        public LineItemInfo()
        {
        }


        public LineItemInfo(string id, string name, int line, int qty, decimal price)
        {
            ItemId = id;
            Name = name;
            Line = line;
            Price = price;
            Quantity = qty;
        }


        public string ItemId { get; set; }

        public string Name { get; set; }

        public int Line { get; set; }

        public int Quantity { get; set; }

        public decimal Price { get; set; }

        public decimal SubTotal
        {
            get { return Price*Quantity; }
        }
    }
}